-- GENERATED SPELL FOR [Winter Jormungar] --


function spell0_34137(pUnit, Event) --@Acidic Bite,n/a--
pUnit:FullCastSpellOnTarget(64638,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_34137', 30315, 1)
end

function Sorts_34137(pUnit, Event)
local choix_sorts_34137 = math.random(0, 0)
if choix_sorts_34137 == 0 then
pUnit:RegisterEvent('spell0_34137', 1, 1)
end
end

function mob34137_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_34137', math.random(1500, 3000), 1)
end

function mob34137_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob34137_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob34137_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(34137, 1, 'mob34137_Action')
RegisterUnitEvent(34137, 2, 'mob34137_Leave')
RegisterUnitEvent(34137, 3, 'mob34137_Kill')
RegisterUnitEvent(34137, 4, 'mob34137_Die')
